package com.itheima.d7_generics_interface;




import java.util.ArrayList;

public class StudentManager {
    Demoo studentjiek = new Studentjiek();
    private ArrayList<Student> stu = new ArrayList<>();

    public StudentManager() {
        stu.add(new Student("张三", '男', 80.5));
        stu.add(new Student("李四", '男', 73.5));
        stu.add(new Student("王五", '男', 70.5));
    }

    //打印信息
    public void manager() {
        studentjiek.manage(stu);
    }

    //打印平均分
    public void putScore() {
        studentjiek.putScore(stu);
    }
}
